﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace App.Model
{
    /// <summary>
    /// PLC警告信息
    /// </summary>
    public class ProErrors
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [SugarColumn(ColumnDataType = "VARCHAR(64)")] 
        public string GroupName { get; set; }

        /// <summary>
        /// PLC地址
        /// </summary>
        [SugarColumn(ColumnDataType = "VARCHAR(64)")]
        public string PLCAddr { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDataType = "VARCHAR(512)")]
        public string Errors { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }

    }
}
